package twistter;

import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;

public class TweetImporter {

	public TweetImporter() {
		this.init();
	}
	
	private void init() {
		;
	}
	
	public ArrayList<Tweet> importTweets() throws IOException {
		ArrayList<Tweet> list = new ArrayList<Tweet>();
		URL tempUrl = new URL("http://img-9gag-ftw.9cache.com/photo/a9MDNPZ_700b.jpg"); // TEMP
		list.add(new Tweet(tempUrl,"I don't always die in video games","... but when i do .... SHIAT !")); // TEMP
		list.add(new Tweet(tempUrl,"nomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnomnom","contenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenucontenu")); // TEMP
		list.add(new Tweet(tempUrl,"nom","contenu")); // TEMP
		list.add(new Tweet(tempUrl,"nom","contenu")); // TEMP
		list.add(new Tweet(tempUrl,"nom","contenu")); // TEMP
		return list;
	}

}